package com.tubang.logistics.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.tubang.common.entity.BaseEntity;

/**
 * <p>
 * 物流公司运单
 * </p>
 *
 * @author wsl
 * @since 2017-12-31
 */
@SuppressWarnings("serial")
@TableName("tb_logistics_order")
public class LogisticsOrderEntity extends BaseEntity<LogisticsOrderEntity> {

    /**
     * 编号
     */
    @TableField("num")
    private String num;

    /**
     * 用户类型
     */
    @TableField("user_type")
    private String userType;

    /**
     * 用户
     */
    @TableField("user_id")
    private String userId;


    /**
     * 用户名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 用户手机号
     */
    @TableField("user_mobile")
    private String userMobile;

    /**
     * 车辆类型
     */
    @TableField("container_type")
    private String containerType;
    /**
     * 车辆尺寸
     */
    @TableField("container_size")
    private Double containerSize;
    /**
     * 运费 元/吨
     */
    private Double carriage;
    /**
     * 运输总费用
     */
    private Double amount;
    /**
     * 是否开发票
     */
    @TableField("invoice_flag")
    private String invoiceFlag;
    /**
     * 结算周期：300-预付；301-到付；302-回单付
     */
    @TableField("pay_period")
    private String payPeriod;


    /**
     * 结算类型 0 线上 1 线下
     */
    @TableField("pay_type")
    private String payType;


    /**
     * 线下支付金额
     */
    @TableField("pay_line_money")
    private String payLineMoney;


    /**
     * 线上支付金额
     */
    @TableField("pay_online_money")
    private String payOnlineMoney;


    /**
     * 支付状态
     */
    @TableField("pay_code")
    private String payCode;


    /**
     * 支付状态描述
     */
    @TableField("pay_code_desc")
    private String payCodeDesc;


    /**
     * 承运商id
     */
    @TableField("carrier_id")
    private String carrierId;


    /**
     * 承运商id
     */
    @TableField("carrier_type")
    private String carrierType;


    /**
     * 承运商 名称
     */
    @TableField("carrier_name")
    private String carrierName;
    /**
     * 承运商手机号
     */
    @TableField("carrier_mobile")
    private String carrierMobile;
    /**
     * 指派中-98；指接单-99；100-待提货；101-运输中；102-待审核；103已完成；104-异常运单
     */
    @TableField("status_code")
    private String statusCode;
    @TableField("status_code_desc")
    private String statusCodeDesc;

    @TableField("order_status_code")
    private String orderStatusCode;

    @TableField("order_status_code_desc")
    private String orderStatusCodeDesc;

    /**
     * 提货单url
     */
    @TableField("delivery_order_url")
    private String deliveryOrderUrl;
    /**
     * 回执单url
     */
    @TableField("receipt_url")
    private String receiptUrl;
    /**
     * 指派拒绝原因
     */
    private String reason;


    /**
     * 货品名称
     */
    @TableField("goods_name")
    private String goodsName;


    /**
     * 货品重量
     */
    @TableField("goods_weight")
    private Double goodsWeight;


    /**
     * 发货地址
     */
    @TableField("addr_from")
    private String addrFrom;


    /**
     * 收货地址
     */
    @TableField("addr_to")
    private String addrTo;

    /**
     * 成交单价
     */
    @TableField("carriage_deal")
    private Double carriageDeal;


    /**
     * 成交总价
     */
    @TableField("amount_deal")
    private Double amountDeal;


    /**
     * 创建者用户id
     */
    @TableField("create_user_id")
    private String createUserId;


    /**
     * 创建者用户类型
     */
    @TableField("create_user_type")
    private String createUserType;


    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayLineMoney() {
        return payLineMoney;
    }

    public void setPayLineMoney(String payLineMoney) {
        this.payLineMoney = payLineMoney;
    }

    public String getPayOnlineMoney() {
        return payOnlineMoney;
    }

    public void setPayOnlineMoney(String payOnlineMoney) {
        this.payOnlineMoney = payOnlineMoney;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getAddrFrom() {
        return addrFrom;
    }

    public void setAddrFrom(String addrFrom) {
        this.addrFrom = addrFrom;
    }

    public String getAddrTo() {
        return addrTo;
    }

    public void setAddrTo(String addrTo) {
        this.addrTo = addrTo;
    }

    public Double getCarriageDeal() {
        return carriageDeal;
    }

    public void setCarriageDeal(Double carriageDeal) {
        this.carriageDeal = carriageDeal;
    }

    public Double getAmountDeal() {
        return amountDeal;
    }

    public void setAmountDeal(Double amountDeal) {
        this.amountDeal = amountDeal;
    }

    public String getUserId() {
        return userId;
    }

    public LogisticsOrderEntity setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getContainerType() {
        return containerType;
    }

    public LogisticsOrderEntity setContainerType(String containerType) {
        this.containerType = containerType;
        return this;
    }

    public Double getContainerSize() {
        return containerSize;
    }

    public LogisticsOrderEntity setContainerSize(Double containerSize) {
        this.containerSize = containerSize;
        return this;
    }

    public Double getCarriage() {
        return carriage;
    }

    public LogisticsOrderEntity setCarriage(Double carriage) {
        this.carriage = carriage;
        return this;
    }

    public Double getAmount() {
        return amount;
    }

    public LogisticsOrderEntity setAmount(Double amount) {
        this.amount = amount;
        return this;
    }

    public String getInvoiceFlag() {
        return invoiceFlag;
    }

    public LogisticsOrderEntity setInvoiceFlag(String invoiceFlag) {
        this.invoiceFlag = invoiceFlag;
        return this;
    }

    public String getPayPeriod() {
        return payPeriod;
    }

    public LogisticsOrderEntity setPayPeriod(String payPeriod) {
        this.payPeriod = payPeriod;
        return this;
    }

    public String getCarrierType() {
        return carrierType;
    }

    public void setCarrierType(String carrierType) {
        this.carrierType = carrierType;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public String getCarrierMobile() {
        return carrierMobile;
    }

    public LogisticsOrderEntity setCarrierMobile(String carrierMobile) {
        this.carrierMobile = carrierMobile;
        return this;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public LogisticsOrderEntity setStatusCode(String statusCode) {
        this.statusCode = statusCode;
        return this;
    }

    public String getStatusCodeDesc() {
        return statusCodeDesc;
    }

    public LogisticsOrderEntity setStatusCodeDesc(String statusCodeDesc) {
        this.statusCodeDesc = statusCodeDesc;
        return this;
    }

    public String getDeliveryOrderUrl() {
        return deliveryOrderUrl;
    }

    public LogisticsOrderEntity setDeliveryOrderUrl(String deliveryOrderUrl) {
        this.deliveryOrderUrl = deliveryOrderUrl;
        return this;
    }

    public String getReceiptUrl() {
        return receiptUrl;
    }

    public LogisticsOrderEntity setReceiptUrl(String receiptUrl) {
        this.receiptUrl = receiptUrl;
        return this;
    }

    public String getReason() {
        return reason;
    }

    public LogisticsOrderEntity setReason(String reason) {
        this.reason = reason;
        return this;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(String carrierId) {
        this.carrierId = carrierId;
    }

    public Double getGoodsWeight() {
        return goodsWeight;
    }

    public void setGoodsWeight(Double goodsWeight) {
        this.goodsWeight = goodsWeight;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public String getPayCode() {
        return payCode;
    }

    public void setPayCode(String payCode) {
        this.payCode = payCode;
    }

    public String getPayCodeDesc() {
        return payCodeDesc;
    }

    public void setPayCodeDesc(String payCodeDesc) {
        this.payCodeDesc = payCodeDesc;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserType() {
        return createUserType;
    }

    public void setCreateUserType(String createUserType) {
        this.createUserType = createUserType;
    }

    public String getOrderStatusCode() {
        return orderStatusCode;
    }

    public void setOrderStatusCode(String orderStatusCode) {
        this.orderStatusCode = orderStatusCode;
    }

    public String getOrderStatusCodeDesc() {
        return orderStatusCodeDesc;
    }

    public void setOrderStatusCodeDesc(String orderStatusCodeDesc) {
        this.orderStatusCodeDesc = orderStatusCodeDesc;
    }
}
